package cn.pupil.springframework.core.io;

import java.io.IOException;
import java.io.InputStream;

/**
 * @Description: 资源接口
 * @Author: pupil
 * @Date: 2024/11/4 下午 4:09
 */
public interface Resource {

    /**
     * 获取资源的输入流
     * @return InputStream
     * @throws IOException
     */
   InputStream getInputStream() throws IOException;
}
